from rest_framework import serializers, exceptions

class BaseSpiderSerializers(serializers.Serializer):
    pass

class StartSpiderSerializers(serializers.Serializer):
    crawlerAmount = serializers.IntegerField(default=0)
    crawlerDelete = serializers.BooleanField(default=False)
    dbForm = serializers.CharField()
    dbName = serializers.CharField()
    dbUri = serializers.CharField()
    dbType = serializers.CharField()
    project = serializers.CharField()
    spider = serializers.CharField()
    storeType = serializers.CharField()


